package org.lgh.wallet.dto;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 退款
 * @author wei-xhh
 * @date 2023-02-27
 */
public class DrawbackDTO {

    @NotNull
    private Long tradeId;
    @NotNull
    private Long userId;
    @NotNull
    private Integer tradeType;
    @NotNull
    private Integer operateType;
    @NotNull
    private Date tradeTime;

    public Long getTradeId() {
        return tradeId;
    }

    public void setTradeId(Long tradeId) {
        this.tradeId = tradeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getTradeType() {
        return tradeType;
    }

    public void setTradeType(Integer tradeType) {
        this.tradeType = tradeType;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public Date getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(Date tradeTime) {
        this.tradeTime = tradeTime;
    }
}
